how to use offset